package com.we.wecc.aw.db.mapper;

import com.we.wecc.aw.db.model.Award;
import com.we.wecc.aw.db.model.AwardExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface AwardMapper {
    long countByExample(AwardExample example);

    int deleteByExample(AwardExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Award record);

    int insertSelective(Award record);

    List<Award> selectByExampleWithBLOBsWithRowbounds(AwardExample example, RowBounds rowBounds);

    List<Award> selectByExampleWithBLOBs(AwardExample example);

    List<Award> selectByExampleWithRowbounds(AwardExample example, RowBounds rowBounds);

    List<Award> selectByExample(AwardExample example);

    Award selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Award record, @Param("example") AwardExample example);

    int updateByExampleWithBLOBs(@Param("record") Award record, @Param("example") AwardExample example);

    int updateByExample(@Param("record") Award record, @Param("example") AwardExample example);

    int updateByPrimaryKeySelective(Award record);

    int updateByPrimaryKeyWithBLOBs(Award record);

    int updateByPrimaryKey(Award record);
}